package org.qf.service;

import org.qf.mapper.RoleMapper;
import org.qf.mapper.UserMapper;
import org.qf.pojo.Role;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RoleService {
    @Resource
    public RoleMapper roleMapper;

    public  List<Role> showRole() {
        return roleMapper.selectAll();
    }
}
